/*  1:   */ package com.atomikos.datasource;
/*  2:   */ 
/*  3:   */ import com.atomikos.icatch.SysException;
/*  4:   */ import java.util.Enumeration;
/*  5:   */ import java.util.Stack;
/*  6:   */ 
/*  7:   */ public class ResourceException
/*  8:   */   extends SysException
/*  9:   */ {
/* 10:   */   public ResourceException(String msg)
/* 11:   */   {
/* 12:43 */     super(msg);
/* 13:   */   }
/* 14:   */   
/* 15:   */   public ResourceException(String msg, Stack errors)
/* 16:   */   {
/* 17:51 */     super(msg, errors);
/* 18:   */   }
/* 19:   */   
/* 20:   */   public ResourceException(Stack errors)
/* 21:   */   {
/* 22:56 */     super("ResourceException", errors);
/* 23:   */   }
/* 24:   */   
/* 25:   */   public Stack getDetails()
/* 26:   */   {
/* 27:62 */     return getErrors();
/* 28:   */   }
/* 29:   */   
/* 30:   */   public void printStackTrace()
/* 31:   */   {
/* 32:67 */     super.printStackTrace();
/* 33:68 */     if ((getDetails() != null) && (!getDetails().empty()))
/* 34:   */     {
/* 35:69 */       Enumeration enumm = getDetails().elements();
/* 36:70 */       while (enumm.hasMoreElements())
/* 37:   */       {
/* 38:71 */         Exception next = (Exception)enumm.nextElement();
/* 39:72 */         next.printStackTrace();
/* 40:   */       }
/* 41:   */     }
/* 42:   */   }
/* 43:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions-api\3.7.0\transactions-api-3.7.0.jar
 * Qualified Name:     com.atomikos.datasource.ResourceException
 * JD-Core Version:    0.7.0.1
 */